#pragma once
#include "Syntax/Object/Object.hpp"

#include "DiagnosticBag.hpp"

class EvaluationResult {
public:
  EvaluationResult(SharedDiagnosticBag diagnostics, SharedObject value)
      : Value(value), Diagnostics(diagnostics) {}

public:
  SharedDiagnosticBag Diagnostics;
  SharedObject Value;
};